<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>小米商城</title>
    <style>
        .con{
            position: fixed;
            right: 5%;
            bottom: 10%;
        }
        .con a{
            display: block;
            position: relative;
            /*父元素相对定位*/
        }
        .con a .note{
            display: none;
            position: absolute;
            /*子元素绝对定位*/
            left: -100px;
            text-align: center;
        }
        .logo img{
            width: 25px;
        }
        .hidden{
            display: none;
        }
        .con>a:hover .static{
            display: none;
        }
        .con>a:hover .hidden{
            display: inline-block;
        }
        .con>a:hover .note{
            display: inline-block;
        }
        ul{
            width: 75%;
            margin: 0 auto;
        }
        ul>li{
            list-style-type: none;
            display: inline-block;
        }
        ul>li:hover img{
            box-shadow: 0px 5px 30px 5px rgba(0,0,0,1);
            position: relative;
            transform: translateY(-2px);
        }
    </style>
</head>
<body>
<ul>
    <li><a href=""><img src="../imgcss/product.jpg" alt=""></a></li>
    <li><a href=""><img src="../imgcss/product.jpg" alt=""></a></li>
    <li><a href=""><img src="../imgcss/product.jpg" alt=""></a></li>
    <li><a href=""><img src="../imgcss/product.jpg" alt=""></a></li>
    <li><a href=""><img src="../imgcss/product.jpg" alt=""></a></li>
    <li><a href=""><img src="../imgcss/product.jpg" alt=""></a></li>
    <li><a href=""><img src="../imgcss/product.jpg" alt=""></a></li>
    <li><a href=""><img src="../imgcss/product.jpg" alt=""></a></li>
    <li><a href=""><img src="../imgcss/product.jpg" alt=""></a></li>
    <li><a href=""><img src="../imgcss/product.jpg" alt=""></a></li>
    <li><a href=""><img src="../imgcss/product.jpg" alt=""></a></li>
    <li><a href=""><img src="../imgcss/product.jpg" alt=""></a></li>
</ul>
  <div class="con">
      <a href="">
          <span class="note"><img src="../imgcss/erweima.png" width="100px" alt=""></span>
          <span class="logo">
              <span class="static"><img src="../imgcss/1-1.png" alt=""></span>
              <span class="hidden"><img src="../imgcss/1-2.png" alt=""></span>
          </span>
      </a>

      <a href="">
          <span class="note">个人中心</span>
          <span class="logo">
              <span class="static"><img src="../imgcss/2-1.png" alt=""></span>
              <span class="hidden"><img src="../imgcss/2-2.png" alt=""></span>
          </span>
      </a>

      <a href="">
          <span class="note">售后服务</span>
          <span class="logo">
              <span class="static"><img src="../imgcss/3-1.png" alt=""></span>
              <span class="hidden"><img src="../imgcss/3-2.png" alt=""></span>
          </span>
      </a>

      <a href="">
          <span class="note">人工客服</span>
          <span class="logo">
              <span class="static"><img src="../imgcss/4-1.png" alt=""></span>
              <span class="hidden"><img src="../imgcss/4-2.png" alt=""></span>
          </span>
      </a>

      <a href="">
          <span class="note">购物车</span>
          <span class="logo">
              <span class="static"><img src="../imgcss/5-1.png" alt=""></span>
              <span class="hidden"><img src="../imgcss/5-2.png" alt=""></span>
          </span>
      </a>
  </div>
</body>
</html>